<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <style>
    * {
      margin: 0;
      padding: 0;
    }
    body {
      width: 100vw;
      min-height: 100vh;
      /* padding: 200px; */
      /* background-color: pink; */
    }
    .main-container {
      display: flex;
      background-color: pink;
      flex-direction: row;
    }
    .left,
    .main,
    .right {
      height: 200px;
      width: 200px;
    }
    .main {
      /* flex: 1; */
      background-color: greenyellow;
    }
    .left,
    .right {
      background-color: skyblue;
    }
  </style>
  <body>
    <div class="main-container">
      <div class="left">left</div>
      <main class="main">middle</main>
      <div class="right">right</div>
    </div>
  </body>
</html>
